const crypto = require("crypto"); //node内置库
function md5password(password) {
  const md5 = crypto.createHash("md5");
  return md5.update(password).digest("hex");
}
//md5解密

module.exports = md5password;
